﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data;
using CMP.ERP.Admin.ServiceReference1;

namespace CMP.ERP.Admin.Controllers
{
    public class InventoryController : Controller
    {
        //
        // GET: /Inventory/
        ServiceReference1.Service1Client client = new Service1Client();//实例化代理类
        public ActionResult ShowInventory()
        {

            return View(client.ShowInventory().ToList());

        }

    }
}
